<template>
  <el-container class="desktop">
    <el-header height="35px" style="width: 100%;margin: 0 auto; padding: 0 0;">
      <SystemTaskBar />
    </el-header>
    <el-main>
      <SystemApplicationBox />
      <SystemApplicationWindows style="position: fixed; top: 4%; left: 0" v-show="this.$store.getters.focusApp.isOpen" :app="this.$store.getters.focusApp" />
    </el-main>
  </el-container>
</template>

<script>
import SystemTaskBar from "@/components/SystemTaskBar";
import SystemApplicationBox from "@/components/SystemApplicationBox";
import SystemUser from "@/components/system_plugin/SystemUser";
import SystemLog from "@/components/system_plugin/SystemLog";
import SystemMonitor from "@/components/system_plugin/SystemMonitor";
import SystemApplicationWindows from "@/components/SystemApplicationWindows";

export default {
  name: "SystemDesktop",
  components: {SystemApplicationWindows, SystemUser, SystemLog, SystemMonitor, SystemApplicationBox, SystemTaskBar},
  data(){
    return{
    }
  },

  created() {
  },

  methods: {
  }
}
</script>

<style scoped>
.desktop{
  width: 100%;
  height: 100%;
  background: url('../assets/background/1a5b008aa325e1ba414679a7b6c4b365949c6f44.jpeg') center center no-repeat;
  background-size: 100% 100%;
  position: fixed;
}
</style>